using Castle.ActiveRecord;

namespace Cooking.Core.Model
{
    [ActiveRecord]
    public class PreparationStep : IOrderable
    {
        [PrimaryKey(Generator = PrimaryKeyType.Increment)]
        public int Id { get; set; }

        [Property]
        public int SequenceNumber { get; set; }

        [Property]
        public string Description { get; set; }

        [BelongsTo("RecipeId")]
        public Recipe BelongsTo { get; set; }

    }
}